package com.lanou.mapper;


import com.lanou.bean.CollectImg;
import com.lanou.bean.CollectMap;
import com.lanou.bean.RenderingImg;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by dllo on 18/3/19.
 */
@Repository
public interface UserCollectionMapper {
    void createAlbum(@Param("user_id") Integer user_id, @Param("albumName") String albumName);

    CollectMap getId (@Param("user_id")Integer user_id);

    void insertMap(@Param("map_id") Integer map_id,@Param("src")String src);

    List<CollectImg> getImgs(@Param("map_id") Integer map_id);

    List<CollectMap> showMap(@Param("user_id")Integer user_id);

    void changeCollectMapName(@Param("id")Integer id,@Param("albumName") String albumName);

    void deleteMap(@Param("id")Integer id);
}
